class CreatePlaylists < ActiveRecord::Migration[6.1]
  def change
    create_table :playlists do |t|
      t.string :name, null: false
      t.string :description
      t.integer :serial_id, null: false
      t.integer :view_amount, null: false, default: 0
      t.integer :fake_amount, null: false, default: 0
      t.text :contain_songs

      t.timestamps
    end
  end
end
